atspi utils: Fix an oversight
authorMatthias Clasen <mclasen@redhat.com>
Sat, 10 Oct 2020 13:23:49 +0000 (09:23 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 12 Oct 2020 19:10:40 +0000 (15:10 -0400)
gtk_accessible_role_to_atspi_role must always return
an atspi role. The fallback was returning an aria
role.

gtk/a11y/gtkatspiutils.c

index 7a572ee41f0a8eff1adb16a75600ae933cbd4be8..cea75297e51f91416708f3e2432d2ed6335a34d2 100644 (file)
@@ -273,7 +273,7 @@ gtk_accessible_role_to_atspi_role (GtkAccessibleRole role)
       break;
     }
 
-  return GTK_ACCESSIBLE_ROLE_WIDGET;
+  return ATSPI_ROLE_FILLER;
 }
 
 GVariant *